diagnostic test of platelet function